Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |try_to_i128

std/conv::|try_to_i128


Usage

|try_to_i128<T>(value)

Generics

◻ T: TryToI128

Parameters

↳ value: T

Return

Option<i128>


Try to turn data into i128.

This function returns an Option containing value if conversion is successful.